ThumbFormat

The currently supported Pocketbase thumb formats

Entries

Link copied to clipboard

(eg. 100x300) - crop to WxH viewbox (from center)

Link copied to clipboard

(eg. 100x300t) - crop to WxH viewbox (from top)

Link copied to clipboard

(eg. 100x300b) - crop to WxH viewbox (from bottom)

Link copied to clipboard

(eg. 100x300f) - fit inside a WxH viewbox (without cropping)

Link copied to clipboard

(eg. 0x300) - resize to H height preserving the aspect ratio

Link copied to clipboard

(eg. 100x0) - resize to W width preserving the aspect ratio

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.